Optimal. Leaf size=489 \[ \frac{x^{3/2} \left (-2 a c+b^2+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-\sqrt{b^2-4 a c}-b}}+\frac{\sqrt [4]{c} \left (\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{\sqrt{b^2-4 a c}-b}}-\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-\sqrt{b^2-4 a c}-b}}-\frac{\sqrt [4]{c} \left (\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}+b\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{\sqrt{b^2-4 a c}-b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.997934, antiderivative size = 489, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 6, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {1115, 1366, 1510, 298, 205, 208} \[ \frac{x^{3/2} \left (-2 a c+b^2+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-\sqrt{b^2-4 a c}-b}}+\frac{\sqrt [4]{c} \left (\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}+b\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{\sqrt{b^2-4 a c}-b}}-\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-\sqrt{b^2-4 a c}-b}}-\frac{\sqrt [4]{c} \left (\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}+b\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{\sqrt{b^2-4 a c}-b}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{\sqrt{b^2-4 a c}-b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1115
Rule 1366
Rule 1510
Rule 298
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{x}}{\left (a+b x^2+c x^4\right )^2} \, dx &=2 \operatorname{Subst}\left (\int \frac{x^2}{\left (a+b x^4+c x^8\right )^2} \, dx,x,\sqrt{x}\right )\\ &=\frac{x^{3/2} \left (b^2-2 a c+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac{\operatorname{Subst}\left (\int \frac{x^2 \left (-b^2+10 a c-b c x^4\right )}{a+b x^4+c x^8} \, dx,x,\sqrt{x}\right )}{2 a \left (b^2-4 a c\right )}\\ &=\frac{x^{3/2} \left (b^2-2 a c+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\left (c \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{x^2}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^4} \, dx,x,\sqrt{x}\right )}{4 a \left (b^2-4 a c\right )}+\frac{\left (c \left (b+\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{x^2}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^4} \, dx,x,\sqrt{x}\right )}{4 a \left (b^2-4 a c\right )}\\ &=\frac{x^{3/2} \left (b^2-2 a c+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac{\left (\sqrt{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-b-\sqrt{b^2-4 a c}}-\sqrt{2} \sqrt{c} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt{2} a \left (b^2-4 a c\right )}+\frac{\left (\sqrt{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-b-\sqrt{b^2-4 a c}}+\sqrt{2} \sqrt{c} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt{2} a \left (b^2-4 a c\right )}-\frac{\left (\sqrt{c} \left (b+\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-b+\sqrt{b^2-4 a c}}-\sqrt{2} \sqrt{c} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt{2} a \left (b^2-4 a c\right )}+\frac{\left (\sqrt{c} \left (b+\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-b+\sqrt{b^2-4 a c}}+\sqrt{2} \sqrt{c} x^2} \, dx,x,\sqrt{x}\right )}{4 \sqrt{2} a \left (b^2-4 a c\right )}\\ &=\frac{x^{3/2} \left (b^2-2 a c+b c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-b-\sqrt{b^2-4 a c}}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-b-\sqrt{b^2-4 a c}}}+\frac{\sqrt [4]{c} \left (b+\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-b+\sqrt{b^2-4 a c}}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-b+\sqrt{b^2-4 a c}}}-\frac{\sqrt [4]{c} \left (b-\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-b-\sqrt{b^2-4 a c}}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-b-\sqrt{b^2-4 a c}}}-\frac{\sqrt [4]{c} \left (b+\frac{b^2-20 a c}{\sqrt{b^2-4 a c}}\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{-b+\sqrt{b^2-4 a c}}}\right )}{4\ 2^{3/4} a \left (b^2-4 a c\right ) \sqrt [4]{-b+\sqrt{b^2-4 a c}}}\\ \end{align*}
Mathematica [C] time = 0.228606, size = 149, normalized size = 0.3 \[ -\frac{\left (a+b x^2+c x^4\right ) \text{RootSum}\left [\text{$\#$1}^4 b+\text{$\#$1}^8 c+a\& ,\frac{\text{$\#$1}^4 b c \log \left (\sqrt{x}-\text{$\#$1}\right )-10 a c \log \left (\sqrt{x}-\text{$\#$1}\right )+b^2 \log \left (\sqrt{x}-\text{$\#$1}\right )}{2 \text{$\#$1}^5 c+\text{$\#$1} b}\& \right ]+4 x^{3/2} \left (-2 a c+b^2+b c x^2\right )}{8 a \left (4 a c-b^2\right ) \left (a+b x^2+c x^4\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.27, size = 146, normalized size = 0.3 \begin{align*} 2\,{\frac{1}{c{x}^{4}+b{x}^{2}+a} \left ( -1/4\,{\frac{bc{x}^{7/2}}{a \left ( 4\,ac-{b}^{2} \right ) }}+1/4\,{\frac{ \left ( 2\,ac-{b}^{2} \right ){x}^{3/2}}{a \left ( 4\,ac-{b}^{2} \right ) }} \right ) }-{\frac{1}{8\,a \left ( 4\,ac-{b}^{2} \right ) }\sum _{{\it \_R}={\it RootOf} \left ({{\it \_Z}}^{8}c+{{\it \_Z}}^{4}b+a \right ) }{\frac{bc{{\it \_R}}^{6}+ \left ( -10\,ac+{b}^{2} \right ){{\it \_R}}^{2}}{2\,{{\it \_R}}^{7}c+{{\it \_R}}^{3}b}\ln \left ( \sqrt{x}-{\it \_R} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{b c x^{\frac{7}{2}} +{\left (b^{2} - 2 \, a c\right )} x^{\frac{3}{2}}}{2 \,{\left ({\left (a b^{2} c - 4 \, a^{2} c^{2}\right )} x^{4} + a^{2} b^{2} - 4 \, a^{3} c +{\left (a b^{3} - 4 \, a^{2} b c\right )} x^{2}\right )}} - \int -\frac{b c x^{\frac{5}{2}} +{\left (b^{2} - 10 \, a c\right )} \sqrt{x}}{4 \,{\left ({\left (a b^{2} c - 4 \, a^{2} c^{2}\right )} x^{4} + a^{2} b^{2} - 4 \, a^{3} c +{\left (a b^{3} - 4 \, a^{2} b c\right )} x^{2}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]